// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.UserGroupDao;
import com.liuxinlong.modules.entity.UserGroup;
import com.liuxinlong.modules.mapper.UserGroupMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年7月8日
 */
@Service
public class UserGroupDaoImpl extends ServiceImpl<UserGroupMapper, UserGroup> implements UserGroupDao {

    @Override
    public List<UserGroup> pageUserGroupList(Map<String, Object> queryParam) {
        return baseMapper.pageUserGroupList(queryParam);
    }

    @Override
    public int getUserGroupCount(Map<String, Object> queryParam) {
        return baseMapper.getUserGroupCount(queryParam);
    }

    @Override
    public List<UserGroup> queryUserGroupList() {
        return baseMapper.queryUserGroupList();
    }

    @Override
    public UserGroup getDefault() {
        return baseMapper.getDefault();
    }

    @Override
    public Map<String, Map<String, String>> getGroupMapByName() {
        return baseMapper.getGroupMapByName();
    }

    @Override
    public Map<String, Map<String, String>> getGroupMap() {
        return baseMapper.getGroupMap();
    }
}
